<template>
  <div id="app">
    <Header></Header>

    <!-- 这里显示匹配的组件 -->
    <router-view></router-view>
    
    <Footer v-show="$route.meta.footerShow"></Footer>
  </div>
</template>

<script>
import Header from '@/components/Header';
import Footer from '@/components/Footer';
export default {
  name: 'App',
  components: {
    Header,
    Footer
  }
}
</script>

<style>

</style>
